import Vue from 'vue'
import App from './App.vue'
import Store from './store/index.js'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import  Router from './store/NewRouter'
import './assets/css/global.css'
import * as echarts from 'echarts'
import axios from 'axios'
Vue.prototype.$axios = axios    //全局注册，使用方法为:this.$axios
Vue.prototype.$echarts = echarts
// axios.defaults.withCredentials=true
Vue.config.productionTip = false
Vue.use(ElementUI)
new Vue({
  router:Router,
  store:Store,
  render: h => h(App),
}).$mount('#app')
